package cn.hhchat.wp.exception;


import cn.hhchat.wp.dto.msg.ResultEnum;

/**
 * Created this one by HMH on 2017/7/1.
 */
public class BadQueryException extends BaseException{

    public BadQueryException(String errmsg) {
        super(ResultEnum.BadQuery, errmsg);
    }

    public BadQueryException(int errcode, String errmsg) {
        super(errcode, errmsg);
    }

    public BadQueryException(ResultEnum resultEnum, String errmsg) {
        super(resultEnum, errmsg);
    }

    public BadQueryException(ResultEnum resultEnum) {
        super(resultEnum);
    }

    public BadQueryException(Throwable cause, int errcode, String errmsg) {
        super(cause, errcode, errmsg);
    }

    public BadQueryException(Throwable cause, ResultEnum resultEnum) {
        super(cause, resultEnum);
    }

    public BadQueryException(Throwable cause, ResultEnum resultEnum, String errmsg) {
        super(cause, resultEnum, errmsg);
    }
}
